package cn.cai.pethome.emp.mapper;


import cn.cai.pethome.base.mapper.BaseMapper;
import cn.cai.pethome.emp.domain.Employee;
import org.springframework.stereotype.Repository;

@Repository
public interface IEmployeeMapper extends BaseMapper<Employee> {
    /**
     * 激活
     * @param id
     */
    void updateStated(Long id);

    /**
     * 先查询当前登录账户所属的员工
     * @param logininfoId
     * @return
     */
    Employee findByLogininfoId(Long logininfoId);
}
